<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>打印会员积分调整</title>
		<link rel="stylesheet" href="../css/960.css" type="text/css" media="screen">
		<link rel="stylesheet" href="../css/screen.css" type="text/css" media="screen" />
		<link rel="stylesheet" href="../css/print.css" type="text/css" media="print" />
		<link rel="stylesheet" href="../css/print-preview.css" type="text/css" media="screen">
		<script type="text/javascript" src="../js/common.js"></script>
		<script type="text/javascript" src="../js/qmsk-1.2.js"></script>
		<script src="http://cdn.jquerytools.org/1.2.5/full/jquery.tools.min.js"></script>
		<script src="../js/jquery.print-preview.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			$(function() {

				var id = qmsk.getQueryValue("id");
				qmsk.get("../memberIntgra/find/shopId/params/0/1?id=" + id, function(response) {
					var data = response.getObject();
					console.log(JSON.stringify(data));

					for (var key in data) {
						var value = data[key];
						$("#" + key).html(value);
					}

					var nowDate = new Date();
					$("#now").html(nowDate.getFullYear() + "-" + (nowDate.getMonth() + 1) + "-" + nowDate.getDate());

					$.printPreview.loadPrintPreview();
				});

			});

		</script>
	</head>
	<body>
		<center>

			<div id="printId" class="list">
				<div class="record" align="center" style="font-size: 17px;text-align: center;">
					会员积分调整
				</div>
				<div class="record">
					<label><span>店面：</span><i id="shopName"></i></label>
				</div>
				<div class="record">
					<label><span>单据号：</span><i id="BillNo"></i></label>
				</div>
				<div class="record">
					<label><span>调整日期：</span><i id="crFTime"></i></label>
				</div>
				<div class="record">
					<label><span>会员卡号：</span><i id="memberCardNo"></i></label>
				</div>
				<div class="record">
					<label><span>姓名：</span><i id="custName"></i></label>
				</div>
				<div class="record">
					<label><span>电话：</span><i id="mp" ></i></label>
				</div>
				<div class="record">
					<label><span>类型：</span><i id="RuleName" ></i></label>
				</div>
				<div class="record">
					<label><span>调整积分：</span><i id="Integral"></i></label>
				</div>
				<div class="record">
					<label><span>经办人：</span><i  id="crFMan"></i></label>
				</div>
				<div class="record">
					<label><span>打票日期：</span><i id="now"></i></label>
				</div>
				<div class="record">
					<label><span>客户签字：</span><i ></i></label>
				</div>
				<div style="height:10px;"></div>
			</div>
		</center>

	</body>
	<style type="text/css">
		#print-modal {
			width: 400px;
			margin-left: -200px;
			padding: 0 20px;
		}
		.tb1 td, .tb1 th {
			text-align: center;
			padding: 2px 3px;
		}
		.list {
			width: 260px;
		}
		.enter .btn {
			padding: 4px 14px;
			background-color: #0079BA;
			border: none;
			font-size: 14px;
			font-family: Microsoft Yahei;
			color: #fff;
			border-radius: 3px;
		}
		.record {
			text-align: left;
			line-height: 20px;
			margin-bottom: 10px;
			white-space: nowrap;
		}
		.record label {
			margin-right: 16px;
		}
		.record .sort {
			word-wrap: break-word;
			font-weight: normal;
			width: 540px;
			display: inline-block;
			vertical-align: top;
		}
		.record i {
			display: inline-block;
			border-bottom: 1px solid #ccc;
			font-style: normal;
			min-width: 100px;
		}
		.record textarea {
			vertical-align: top;
			min-width: 500px;
			min-height: 20px;
			background: none;
			border: none;
			resize: none;
		}
	</style>
</html>